import TopNav from "@/components/TopNav/index.vue"
import UserNav from "@/components/UserNav/index.vue"
import userHome from "@/views/user/userHome/user.home.vue"
import userOrder from "@/views/user/userOrder/user.order.vue"
import userInvoice from "@/views/user/userInvoice/user.invoice.vue"
import userCollect from "@/views/user/userCollect/user.collect.vue"
import userCart from "@/views/user/userCart/user.cart.vue"

export default {
    components: {
        TopNav,
        UserNav,
        userHome,
        userOrder,
        userInvoice,
        userCollect,
        userCart
    },
    data() {
        return {
            curMenuIndex: "home",//当前左侧选中菜单
        }
    },
    methods: {
        userMunuChangeListenner(data) {
            this.curMenuIndex = data.menuIndex
        }
    },
    mounted() {
    }
}
